﻿using System.Windows.Controls;

namespace GEPL.Projects.UserControls
{
    /// <summary>
    /// Interaction logic for ConsoleControl.xaml
    /// </summary>
    public partial class ConsoleControl : UserControl
    {
        public ConsoleControl()
        {
            InitializeComponent();
        }

        /// <summary>
        /// Creates a ConsoleOutput object that uses this control as an output
        /// </summary>
        /// <returns>New ConsoleOutput object</returns>
        public ConsoleOutput GetOutputConsole()
        {
            return new ConsoleOutput(OutputTextBox);
        }
    }
}